package com.filetransfer.viewmodel;
import com.filetransfer.viewmodel.base.TaskTableRowModel;
public class DownloadTableRowViewModel extends TaskTableRowModel {
    private static final int ROW_TASK_NAME = 0;
    private static final int ROW_STATUS = 1;
    private static final int ROW_PROGRESS = 2;
    private static final int ROW_LINK = 3;
    private static final int ROW_LOCAL = 4;
    public DownloadTableRowViewModel(String taskName, String status, int progress, String link) {
        super(taskName, status, progress, link);
    }
    public String getTaskName() {
        return (String) get(ROW_TASK_NAME);
    }
    public void setTaskName(String taskName) {
        setProperty(ROW_TASK_NAME, taskName);
    }
    public String getStatus() {
        return (String) get(ROW_STATUS);
    }
    public void setStatus(String status) {
        setProperty(ROW_STATUS, status);
    }
    public int getProgress() {
        return (int) get(ROW_PROGRESS);
    }
    public void setProgress(int progress) {
        setProperty(ROW_PROGRESS, progress);
    }
    public String getLink() {
        return (String) get(ROW_LINK);
    }
    public void setLink(String link) {
        setProperty(ROW_LINK, link);
    }
    public String getLocal() {
        return (String) get(ROW_LOCAL);
    }
    public void setLocal(String local) {
        setProperty(ROW_LOCAL, local);
    }
}

